package com.syx.system.Service;

import com.syx.commoncore.Model.Result;

import com.syx.system.Model.sysUser.DTO.SysUserSaveDTO;
import com.syx.system.Model.sysUser.VO.LoginUserVO;
import org.springframework.stereotype.Service;

@Service
public interface ISysUserService {

    Result<Void> login(String userAccount, String password);

    Result<Void> add(SysUserSaveDTO sysUserSaveDTO);

    Result<LoginUserVO> info(String token);


    Result<Void> logout(String token);

}
